package com.dyw.spzx;

import com.dyw.spzx.common.excepiton.EnableGlobaleExceptionHandler;
import com.dyw.spzx.common.log.annotation.EnableLogAspect;
import com.dyw.spzx.manager.properties.UserProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableAsync
@EnableLogAspect
@MapperScan("com.dyw.spzx.manager.mapper")
@EnableScheduling
@EnableGlobaleExceptionHandler
@EnableConfigurationProperties(value = {UserProperties.class})
public class ManagerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ManagerApplication.class, args);
    }
}
